﻿using Sidvall.WorkItemManager.Data;
using System.Threading.Tasks;

namespace Sidvall.WorkItemManager.Workflow
{
	public interface IConditionProvider
	{
		string Context { get; set; }

		Task<bool> CanExecuteAsync(IWorkItem item);
		Task<string> GetDescriptionAsync(IWorkItem item);
	}
}
